.persona-home-page-wrapper {
  width: 100vw;
  height: 100vh;
  background-color: #000;
  color: #fff;
  .alarm-show-wrapper {
    min-width: 250px;
    position: absolute;
    right: 20px;
    top: 4px;
    z-index: 4;
    font-size: 16px;
    height: 32px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    p {
      margin-bottom: 0;
    }
    &.medium {
      background-color: #ffff4b;
      color: #000000;
    }
    &.high {
      background-color: red;
      color: #fff;
    }
    .alarm-msg-icon {
      position: absolute;
      bottom: -2px;
      right: 2px;
    }
  }

  .header-wrapper {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    font-size: 16px;
    border-bottom: 1px solid #8b8d8a;

    .patient-info-wrapper {
      display: flex;
      font-size: 16px;
      color: #fff;
      display: flex;
      align-items: center;
      img {
        width: 20px;
        height: 20px;
        margin-left: -6px;
      }
    }

    .time-show {
      font-size: 14px;
    }
  }
  @keyframes heartbeat1 {
    0% {
      transform: scale(1);
    }

    25% {
      transform: scale(1.1);
    }

    50% {
      transform: scale(1);
    }

    75% {
      transform: scale(1.1);
    }

    100% {
      transform: scale(1);
    }
  }
  .device-offline {
    width: 40%;
    height: 50px;
    background-color: #ff960a;
    font-size: 18px;
    color: #000000;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    animation: heartbeat1 4s infinite;
  }

  .content-wrapper {
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    height: calc(100vh - 40px);
    .left-wrapper {
      width: calc(50% - 10px);
      margin-right: 10px;
      height: 100%;
      border-right: 1px solid #797979;
      .chart-collection-item {
        width: 100%;
        height: 20%;
        border-bottom: 1px solid #797979;
        display: flex;
        justify-content: space-between;
        align-items: center;
        &:last-child {
          border-bottom: none;
        }
        .ecg-describe-item {
          height: 100%;
        }
        .ecg-charts-item {
          height: 100%;
        }
      }
      .chart-inner-wrapper {
        height: 100%;
        width: calc(100% - 150px);
        .no-data {
          width: 100%;
          height: 100%;
          display: flex;
          justify-content: center;
          align-items: center;
          color: #797979;
        }
      }
    }

    .right-wrapper {
      width: 50%;
      padding-left: 10px;
      height: 100%;
      /* 心电图 */
      .ecg-module-wrapper-person {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;

        .ecg-list-wrapper {
          width: calc(100% - 200px);
          height: 100%;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          align-items: center;
        }

        .ecg-charts-item {
          width: 100%;
          height: 100%;
          display: flex;
          align-items: center;

          &.item_2 {
            height: 50%;
          }

          &.item_7 {
            height: 14%;
          }

          &.item_12 {
            height: 8%;
          }
        }
        .leadMode {
          .title3 {
            font-size: 24px;
          }
        }
      }
    }
  }

  .ecg-desc-wrapper {
    width: 200px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    border-left: 1px solid #797979;
    color: #fff;

    .public-wrapper1 {
      width: 25%;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: space-between;
    }

    .title1 {
      font-size: 16px;
      font-weight: bold;
    }

    .title2,
    .title4 {
      font-size: 12px;
    }

    .title3 {
      width: 70%;
      transition: all 0.1s ease-in-out;
      /* 短暂过渡减少闪烁 */
      font-size: 65px;
      font-weight: bold;
      line-height: 65px;
      padding-bottom: 5px;
      text-align: center;
    }
  }

  //左边的动效
  @keyframes HighWarning4 {
    0% {
      background-color: #000000;
      color: #00fffd;
    }
    100% {
      background-color: red;
      color: #fff;
    }
    50% {
      background-color: #000000;
      color: #00fffd;
    }
    75% {
      background-color: red;
      color: #fff;
    }
    100% {
      background-color: #000000;
      color: #00fffd;
    }
  }
  @keyframes HighWarning4-1 {
    0% {
      background-color: #000000;
      color: #00fffd;
    }
    100% {
      background-color: #ffff4b;
      color: #000000;
    }
    50% {
      background-color: #000000;
      color: #00fffd;
    }
    75% {
      background-color: #ffff4b;
      color: #000000;
    }
    100% {
      background-color: #000000;
      color: #00fffd;
    }
  }
  @keyframes HighWarning5 {
    0% {
      background-color: #000000;
      color: #31a0ff;
    }
    100% {
      background-color: red;
      color: #fff;
    }
    50% {
      background-color: #000000;
      color: #31a0ff;
    }
    75% {
      background-color: red;
      color: #fff;
    }
    100% {
      background-color: #000000;
      color: #31a0ff;
    }
  }
  @keyframes HighWarning5-1 {
    0% {
      background-color: #000000;
      color: #31a0ff;
    }
    100% {
      background-color: #ffff4b;
      color: #000000;
    }
    50% {
      background-color: #000000;
      color: #31a0ff;
    }
    75% {
      background-color: #ffff4b;
      color: #000000;
    }
    100% {
      background-color: #000000;
      color: #31a0ff;
    }
  }
  //右边的动效
  @keyframes HighWarning1 {
    0% {
      background-color: #000000;
      color: #8bff00;
    }
    100% {
      background-color: red;
      color: #fff;
    }
    50% {
      background-color: #000000;
      color: #8bff00;
    }
    75% {
      background-color: red;
      color: #fff;
    }
    100% {
      background-color: #000000;
      color: #8bff00;
    }
  }
  @keyframes HighWarning1-1 {
    0% {
      background-color: #000000;
      color: #8bff00;
    }
    100% {
      background-color: #ffff4b;
      color: #000000;
    }
    50% {
      background-color: #000000;
      color: #8bff00;
    }
    75% {
      background-color: #ffff4b;
      color: #000000;
    }
    100% {
      background-color: #000000;
      color: #8bff00;
    }
  }
  @keyframes HighWarning2 {
    0% {
      background-color: #000000;
      color: #f4cd00;
    }
    100% {
      background-color: red;
      color: #fff;
    }
    50% {
      background-color: #000000;
      color: #f4cd00;
    }
    75% {
      background-color: red;
      color: #fff;
    }
    100% {
      background-color: #000000;
      color: #f4cd00;
    }
  }
  @keyframes HighWarning2-1 {
    0% {
      background-color: #000000;
      color: #f4cd00;
    }
    100% {
      background-color: #ffff4b;
      color: #000000;
    }
    50% {
      background-color: #000000;
      color: #f4cd00;
    }
    75% {
      background-color: #ffff4b;
      color: #000000;
    }
    100% {
      background-color: #000000;
      color: #f4cd00;
    }
  }
  @keyframes HighWarning3 {
    0% {
      background-color: #000000;
      color: #00fffd;
    }
    100% {
      background-color: red;
      color: #fff;
    }
    50% {
      background-color: #000000;
      color: #00fffd;
    }
    75% {
      background-color: red;
      color: #fff;
    }
    100% {
      background-color: #000000;
      color: #00fffd;
    }
  }
  @keyframes HighWarning3-1 {
    0% {
      background-color: #000000;
      color: #00fffd;
    }
    100% {
      background-color: #ffff4b;
      color: #000000;
    }
    50% {
      background-color: #000000;
      color: #00fffd;
    }
    75% {
      background-color: #ffff4b;
      color: #000000;
    }
    100% {
      background-color: #000000;
      color: #00fffd;
    }
  }
  .ecg-describe-item {
    width: 100%;
    height: 50%;
    position: relative;
    padding: 2px 5% 2px 2px;
    border-bottom: 1px solid #797979;
    display: flex;
    align-items: center;
    justify-content: space-between;

    &:last-child {
      border-bottom: 0px solid #797979;
    }
  }
  .left-wrapper {
    .chart-collection-item {
      position: relative;
      &:nth-child(1) div {
        color: #00fffd;
        &.title3 {
          border-radius: 4px;
          &.notice {
            animation: HighWarning4 2s infinite;
            animation-timing-function: steps(1, end); /* 确保颜色立即变化 */
          }
          &.notice1 {
            animation: HighWarning4-1 2s infinite;
            animation-timing-function: steps(1, end); /* 确保颜色立即变化 */
          }
        }
      }

      &:nth-child(2) div {
        color: #31a0ff;
        &.title3 {
          border-radius: 4px;
          &.notice {
            animation: HighWarning5 2s infinite;
            animation-timing-function: steps(1, end); /* 确保颜色立即变化 */
          }
          &.notice1 {
            animation: HighWarning5-1 2s infinite;
            animation-timing-function: steps(1, end); /* 确保颜色立即变化 */
          }
        }
      }
      &:nth-child(3) div {
        color: #fdff52;
        &.title3 {
          &.notice {
            animation: HighWarning2 4s infinite;
          }
          &.notice1 {
            animation: HighWarning2-1 4s infinite;
          }
        }
      }
      &:nth-child(4) div {
        color: #ff960a;
        &.title3 {
          &.notice {
            animation: HighWarning2 4s infinite;
          }
          &.notice1 {
            animation: HighWarning2-1 4s infinite;
          }
        }
      }
      &:nth-child(5) div {
        color: #00fffd;
        &.title3 {
          &.notice {
            animation: HighWarning2 4s infinite;
          }
          &.notice1 {
            animation: HighWarning2-1 4s infinite;
          }
        }
      }
      .closeNoticeImg {
        width: 25px;
        height: 25px;
        margin-left: -2px;
      }
    }
  }
  .right-wrapper {
    .ecg-describe-item {
      &:nth-child(1) div {
        color: #8bff00;
        &.title3 {
          border-radius: 4px;
          &.notice {
            animation: HighWarning1 2s infinite;
            animation-timing-function: steps(1, end); /* 确保颜色立即变化 */
          }
          &.notice1 {
            animation: HighWarning1-1 2s infinite;
            animation-timing-function: steps(1, end); /* 确保颜色立即变化 */
          }
        }
      }

      &:nth-child(2) div {
        color: #f4cd00;
        &.title3 {
          border-radius: 4px;
          &.notice {
            animation: HighWarning2 2s infinite;
            animation-timing-function: steps(1, end); /* 确保颜色立即变化 */
          }
          &.notice1 {
            animation: HighWarning2-1 2s infinite;
            animation-timing-function: steps(1, end); /* 确保颜色立即变化 */
          }
        }
      }

      &:nth-child(3) div {
        color: #00fffd;
        &.title3 {
          border-radius: 4px;
          &.notice {
            animation: HighWarning3 2s infinite;
            animation-timing-function: steps(1, end); /* 确保颜色立即变化 */
          }
          &.notice1 {
            animation: HighWarning3-1 2s infinite;
            animation-timing-function: steps(1, end); /* 确保颜色立即变化 */
          }
        }
      }

      &:nth-child(4) div {
        color: #ff960a;
      }
      &:nth-child(5) div {
        color: #fdff52;
      }
      &.bloodPressure {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        .public-wrapper1 {
          height: 18px;
        }
      }
      .blood-pressure-list {
        width: 100%;
        height: calc(100% - 18px);
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        .blood-pressure-item {
          display: flex;
          justify-content: space-between;
          align-items: center;
        }
        .blood-pressure-item-title {
          color: #fff;
        }
        .blood-pressure-item-range {
          font-size: 12px;
          color: #fff;
          p {
            margin-bottom: 0px;
            text-align: right;
          }
        }
        @keyframes BloodPressure {
          0% {
            background-color: #000000;
            color: #ff960a;
          }
          100% {
            background-color: red;
            color: #fff;
          }
          50% {
            background-color: #000000;
            color: #ff960a;
          }
          75% {
            background-color: red;
            color: #fff;
          }
          100% {
            background-color: #000000;
            color: #ff960a;
          }
        }
        @keyframes BloodPressure1 {
          0% {
            background-color: #000000;
            color: #ff960a;
          }
          100% {
            background-color: #ffff4b;
            color: #000000;
          }
          50% {
            background-color: #000000;
            color: #ff960a;
          }
          75% {
            background-color: #ffff4b;
            color: #000000;
          }
          100% {
            background-color: #000000;
            color: #ff960a;
          }
        }
        .blood-pressure-item-value {
          font-size: 30px;
          font-weight: bold;
          border-radius: 2px;
          padding: 0px 5px;
          &.notice {
            animation: BloodPressure 2s infinite;
            animation-timing-function: steps(1, end); /* 确保颜色立即变化 */
          }
          &.notice1 {
            animation: BloodPressure1 2s infinite;
            animation-timing-function: steps(1, end); /* 确保颜色立即变化 */
          }
        }
        .closeNoticeImg {
          margin-right: -10px;
        }
      }
      &:nth-child(7) div {
        color: #31a0ff;
      }
      .closeNoticeImg {
        width: 25px;
        height: 25px;
        margin-left: -2px;
      }
    }
  }
}
